package com.zmj.sy.mom.srv.aps.bean.vo.purchaseplan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class ApsWorkOrderPurchasePlanResVo {

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("parentPlmId")
    private String parentPlmId;

    @ApiModelProperty("plmId")
    private String plmId;

    @ApiModelProperty("图号")
    private String paintCode;

    @ApiModelProperty("物料名称")
    private String materName;


    @ApiModelProperty("需求数量")
    private BigDecimal demandCount;

    @ApiModelProperty("库存数量")
    private BigDecimal stockCount;

    @ApiModelProperty("采购数量")
    private BigDecimal purchaseCount;

    @ApiModelProperty("已领数量")
    private BigDecimal pickCount;

    @ApiModelProperty("交付日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime deliveryDateTime;


    @ApiModelProperty("父级id")
    private Integer tobId;

}
